package common

const (
	EVT_INIT    = ""
	EVT_TIMEOUT = "timeout"
)

type Message struct {
	Event string
}

type HangStatus string

const (
	HANG_UP_TIMEOUT  HangStatus = "call_timeout"
	HANG_UP_NOANSWER HangStatus = "not_answer"
	HANG_UP_USER     HangStatus = "close_by_user"
	HANG_UP_API      HangStatus = "close_by_api"
	HANG_UP_SYSTEM   HangStatus = "close_by_system"
	HANG_UP_ERR      HangStatus = "close_by_err"
	HANG_UP_SERVICE  HangStatus = "close_by_service"
	HANG_UP_LINEERR  HangStatus = "line_err"
	HANG_UP_REFUSE   HangStatus = "user_refuse"
	HANG_UP_POWEROFF HangStatus = "user_poweroff"
	HANG_UP_CANCEL   HangStatus = "calcel"
)
